/* -*- mode: c++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*- */

#ifndef _ATLEAST_H_
#define _ATLEAST_H_

extern bool atleast_do(int id, int ticks);

#define ATLEAST_DO(ID, TICKS, EXPR)             \
    do { if (atleast_do(ID, TICKS)) EXPR; } while (0)

#endif /* _ATLEAST_H_ */
